Returns or sets the group identifier of a windowless OptionButton control.
Syntax
object.Group [ = string]
The Group property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
string | A unique string that identifies the members of an OptionButton group. |
Remarks
It is standard practice to segregate a group of OptionButton controls by placing them in a Frame control because the Frame control has a window (hWnd property). However, by definition, lightweight controls have no window. To segregate a group of OptionButton controls, set the Group property of a set of controls to the same unique string.